Account adding and deleting fixed
[RRRRHHHH_Code] / ruralHouses client / src / gui / listOfBookingRequestsGUI.java
index 1df8f2a..982d7f2 100644 (file)
@@ -81,7 +81,7 @@ public class listOfBookingRequestsGUI extends JFrame {
                };
                scrollPane.setViewportView(table);
                tableModel = new DefaultTableModel(null, new String[] {
-                               "Booking Number", "Is paid", "Booking Date","Name","E-mail", "Telephone" });
+                               "Booking Number", "Booking Date","Name","E-mail", "Telephone" });
 
                // Maybe there is a better way to avoid interaction.
                // table.setEnabled(false);
@@ -123,21 +123,12 @@ public class listOfBookingRequestsGUI extends JFrame {
                btnDenyAddition.setBounds(390, 395, 169, 25);
                contentPane.add(btnDenyAddition);
                
-               JButton btnSetAsPaid = new JButton("Set as paid");
-               btnSetAsPaid.setBounds(239, 395, 89, 23);
-               btnSetAsPaid.addActionListener(new ActionListener() {
-                       public void actionPerformed(ActionEvent arg0) {
-                               
-                       }
-               });
-               contentPane.add(btnSetAsPaid);
                Enumeration<Booking> en = this.bookings.elements();
                Booking book;
                while (en.hasMoreElements()) {
                        book = en.nextElement();
                        Vector<Object> row = new Vector<Object>();
                        row.add(book.getBookNumber());
-                       row.add(book.isPaid());
                        row.add(book.getBookDate());
                        row.add(book.getClient().getName());
                        row.add(book.getClient().getMailAccount());